package com.shejimoshi.装饰模式.例子;

/**
 * 煎饼类，继承了煎饼抽象类，一个煎饼 8 块钱
 */
public class Battercake extends ABattercake {
    @Override
    protected String getDesc() {
        return "煎饼";
    }
    @Override
    protected int cost() {
        return 8;
    }
}
